package com.example.analysis.mapper;

import com.example.analysis.domain.CompetitionInfo;
import com.example.analysis.entity.CompetitionList;
import com.example.analysis.entity.CompetitionListKey;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CompetitionListDao {

    int deleteByPrimaryKey(CompetitionListKey key);

    int insert(CompetitionList record);

    int insertSelective(CompetitionList record);

    List<CompetitionList> selectByPrimaryKey(@Param("competitionId")String competitionId,@Param("studentId")String studentId);

    int updateByPrimaryKeySelective(CompetitionList record);

    int updateByPrimaryKey(CompetitionList record);

    List<CompetitionInfo> getAll();
}
